#include<iostream>
using std::endl;
using std::cout;

class A{

public:
    int A = 12;
    int*p1 = &A;
    int* getA(){
        return p1;
    }

};

int main(){
    A a;
    cout<<a.getA()<<endl;
}   